package com.travelsky.login.domain;

/**
 * 账户信息
 */
public class Account {

  /**账号*/
  private String userId;
  /**密码*/
  private String password;
  /**最后登录时间*/
  private String lastLoginTime;
  /**是否被锁定*/
  private boolean locked;

  /**
   * Gets the value of userId.
   *
   * @return the value of userId
   */
  public String getUserId() {
    return userId;
  }

  /**
   * Sets the userId. *
   *
   * @param userId userId
   * @return this
   */
  public Account setUserId(String userId) {
    this.userId = userId;
    return this;
  }

  /**
   * Gets the value of password.
   *
   * @return the value of password
   */
  public String getPassword() {
    return password;
  }

  /**
   * Sets the password. *
   *
   * @param password password
   * @return this
   */
  public Account setPassword(String password) {
    this.password = password;
    return this;
  }

  /**
   * Gets the value of lastLoginTime.
   *
   * @return the value of lastLoginTime
   */
  public String getLastLoginTime() {
    return lastLoginTime;
  }

  /**
   * Sets the lastLoginTime. *
   *
   * @param lastLoginTime lastLoginTime
   * @return this
   */
  public Account setLastLoginTime(String lastLoginTime) {
    this.lastLoginTime = lastLoginTime;
    return this;
  }

  /**
   * Gets the value of locked.
   *
   * @return the value of locked
   */
  public boolean isLocked() {
    return locked;
  }

  /**
   * Sets the locked. *
   *
   * @param locked locked
   * @return this
   */
  public Account setLocked(boolean locked) {
    this.locked = locked;
    return this;
  }
}
